package com.bawei.module_home.goods_act.m;

import androidx.lifecycle.LiveData;

import com.bawei.module_home.mvp.Goods;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.Query;

/**
 * @author : zhiyu
 * @date : 2021/12/13
 * @content :
 */
public interface Api {

    @Headers("bearer 5sGS4kF6lliQ3LQBqYCw2LZQXIPmamkne77nvzxoqa-rQD0m4adueGOsETqlB05ngVKThfDkMZHDkqzfYa_1DbwlhTGwugD4nf78hcNN4p70BTa5jJl5PvHy25Pcpv1Rxafa-7rD6HONruFPXeNW4VFwIp7hDx8wBLVPXgUezGgddMztOipsOQR4PHspRpfXf0Pdmum9xcWb5mFMGdgGJHtVys613u1ZxcJwN2CBbSsuI1GVhjWAAhEhHtm5l61dTdu91oBmGgf2XIcXMgknvyj2luGplCfWSoUa2ruy1U8")
    @GET("api/Goods/getGoods?")
    LiveData<Goods> getGood(@Query("keyword")String keyword, @Query("type")String type, @Query("pageno")int pageno, @Query("pagesize")int pagesize);

}
